<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- ./ 指代当前路径 -->
    <script src="./jquery-3.7.1.js"></script>
    <script>
        // ready函数
        $(document).ready(function(){
            alert(111);
        });

        $(document).ready(function(){
            alert(222);
        });

        $(document).ready(function(){
            alert(333);
        });

        // 简化版ready
        $(function(){
            alert(444);
        });

        // $(选择器).方法
    </script>
</body>
</html>